//
//  PicCell.h
//  Connotation
//
//  Created by LZXuan on 15-4-7.
//  Copyright (c) 2015年 LZXuan. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AssetsLibrary/AssetsLibrary.h>
#import "PicModel.h"

typedef void(^CommentBlock)(NSString * urlStr);

@interface PicCell : UITableViewCell<UIImagePickerControllerDelegate>
- (IBAction)saveClick:(id)sender;
@property (retain, nonatomic) IBOutlet UIButton *SaveImageButton;
@property (retain, nonatomic) IBOutlet UILabel *dateLabel;
@property (retain, nonatomic) IBOutlet UILabel *bodyLabel;
@property (retain, nonatomic) IBOutlet UIImageView *picImageView;
@property (retain, nonatomic) IBOutlet UIButton *likeButton;
@property (retain, nonatomic) IBOutlet UIButton *commentButton;

//category
@property (nonatomic,copy) NSString *category;
//PicModel  wid
@property (nonatomic,retain) PicModel *model;
//block 回调  点击评论 回调
@property (nonatomic,copy) CommentBlock myblock;


- (IBAction)likesClick:(id)sender;

- (IBAction)commentClick:(id)sender;

//填充cell
- (void)showDataWithModel:(PicModel *)model category:(NSString *)category;

@end
